.cm-input-item {
  margin: 0 40px 36px 40px;
  border-radius: 8px;
  background-color: @color-bg-level-2;
  &.am-input-item:after {
    border-bottom-color: transparent;
  }
  .am-input-label {
    width: auto !important;
    color: @color-font;
  }
  .am-input-control {
    input {
      color: @color-font-level-1;
    }
  }
}

.cm-main-button {
  margin: 0 38px;
  margin-bottom: 30px;
  border-radius: 8px;
  font-size: 36px;
  text-align: center;
  padding: 26px 0;
  background-color: @color-up;
  &.-diff-bg {
    background-color: @color-bg-level-3;
  }
  &.-grey-bg {
    background-color: @color-bg-level-4;
  }
}

.cm-picker-wrapper {
  margin: 0 40px 36px 40px;
  .am-list-item {
    border-radius: 8px;
    background-color: @color-bg-level-2;
    .am-list-line {
      justify-content: space-between;
      .am-list-extra {
        text-align: left;
        color: @color-font-level-1;
        font-size: 28px;
      }
    }
  }
}

.cm-captcha-box {
  display: flex;
  .cm-cpatch-btn {
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    font-size: 28px;
    padding: 0 54px;
    margin-right: 40px;
    border-radius: 8px;
    background-color: @color-bg-level-4;
  }
  .cm-input-item {
    flex: 1;
    margin-right: 14px;
  }
}

.cm-nav-header {
  display: flex;
  align-items: center;
  background-color: @color-bg-level-2;
  i {
    padding: 28px 48px;
    font-size: 34px;
    font-weight: bold;
  }
  span {
    flex: 1;
    font-size: 32px;
    padding-right: 62px;
    text-align: center;
  }
}

.cm-scrollable-container {
  flex: 1;
  overflow: auto;
}

// 钩号
.cm-tick-box {
  border: 2px solid @color-font;
  border-top-width: 0;
  border-right-width: 0;
  height: 4px;
  width: 10px;
  transform: rotate(-45deg);
  // hide the tick style
  &.cm-tick-box-hide {
    border-color: #fff;
  }
  &.-hide {
    border-color: #fff;
  }
}

// 等腰直角三角形，直角在右边，[ps: 直角处有`border-radius`]
.cm-right-angle-trangle-box {
  box-sizing: border-box;
  height: 22px;
  width: 22px;
  border: 14px solid @color-bg-level-3;
  border-left-color: transparent;
  border-bottom-color: @color-bg-level-3;
  border-top-color: transparent;
  border-right-color: @color-bg-level-3;
  border-bottom-right-radius: 8px;
}

.cm-footer-box {
  display: flex;
  background-color: @color-bg-level-2;
  & > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 16px 0;
    &.-active {
      color: @color-bg-level-3;
      background-color: @color-border;
    }
    span {
      font-size: 24px;
    }
    i {
      font-size: 40px;
      padding-bottom: 12px;
    }
  }
}

.cm-row-box {
  border-bottom: 2px solid @color-border;
  font-size: 32px;
  display: flex;
  justify-content: space-between;
  padding: 28px 46px;
  background-color: @color-bg-level-2;
  span.left {
    color: @color-font-level-1;
  }
}

// style for account page component of row item
.cm-row-item {
  border-bottom: 2px solid @color-border;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: @color-bg-level-2;
  &.-margin-top {
    margin-top: 24px;
  }
  .-left {
    i {
      border: 2px solid @color-font-level-1;
      font-size: 22px;
      padding: 14px;
      border-radius: 50%;
    }
    span {
      padding-left: 28px;
    }
  }
  .-right {
    .-text {
      font-size: 32px;
      color: @color-bg-level-3;
      padding-right: 22px;
    }
    i {
      color: @color-font-level-1;
    }
  }
}

.cm-column-flex-box {
  display: flex;
  flex-direction: column;
}

.cm-tabs-box {
  display: flex;
  span {
    text-align: center;
    flex: 1;
    color: @color-font-level-1;
    font-size: 32px;
    padding: 36px 0;
  }
  .-active {
    color: @color-bg-level-3;
    border-bottom: 4px solid;
  }
}

.cm-half-circle {
  background-color: @color-background;
  height: 40px;
  width: 20px;
  &.cm-left-circle {
    border-radius: 0 40px 40px 0;
  }
  &.cm-right-circle {
    border-radius: 40px 0 0 40px;
  }
}

.cm-hint-message-box {
  background-color: @color-bg-level-5;
  display: flex;
  justify-content: space-between;
  padding: 22px 36px;
  .-rule {
    color: @color-yellow;
  }
}

.cm-picker-box {
  margin: 0 40px 36px;
  border-radius: 8px;
  background-color: #2B2F38;
  padding: 0;
  .am-list-line {
    padding: 0;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 0 30px;
    background-color: #2B2F38;
    .am-list-extra {
      color: #C5C9CF;
      text-align: left;
      font-size: 28px;
      overflow: visible;
    }
    .am-list-content {
      text-align: right;
      i {
        color: #C5C9CF;
      }
    }
  }
}